<script lang="ts">
  export default {
    name: 'iframe',
  };
</script>

<script setup lang="ts">
  import { computed, onMounted, ref, unref } from 'vue';
  import { useRoute, useRouter } from 'vue-router';
  import changeLang from '@/components/changeLang/index.vue'
  import { useI18n } from 'vue-i18n'
  const { t } = useI18n()
  const router = useRouter();
  const route = useRoute()

  let ifUrl = ref('')
  onMounted(() => {
    ifUrl.value = route.params.url
  });



</script>

<template>
  <div class="container">
    <iframe :src="ifUrl" frameborder="0" width="100%" height="100%"></iframe>
  </div>
</template>

<style lang="less" scoped>
  .container {
    height: 100vh;
  }
</style>